package com.ruoyi.productimages.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品图片对象 productimages
 * 
 * @author ruoyi
 * @date 2024-06-30
 */
public class Productimages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long imageId;

    /** 商店id */
    @Excel(name = "商店id")
    private Long storeId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageUrl;

    /** 播放顺序 */
    @Excel(name = "播放顺序")
    private Long displayOrder;

    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setDisplayOrder(Long displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Long getDisplayOrder() 
    {
        return displayOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageId", getImageId())
            .append("storeId", getStoreId())
            .append("productId", getProductId())
            .append("imageUrl", getImageUrl())
            .append("displayOrder", getDisplayOrder())
            .toString();
    }
}
